package STUDENT.LETRUNGHIEU.OOPs.ARRAY_EXCERCISES.excercise_2;

public class Controllers {
Models  objMod = new Models();
	
	public double check(Objects obj){
		return (obj.getCheck()== 1) ? 
				  objMod.average(obj.array) : objMod.average(obj.arrayd);
	}
}
